package cloud.maque.admin.service;

import cloud.maque.admin.domain.entity.MqTenantAccount;
import cloud.maque.framework.common.request.PaginateDataResquest;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 4color
 * @description 第三方账户信息
 * @date 2023-04-25
 */
@Service
public interface MqTenantAccountService extends IService<MqTenantAccount> {

    MqTenantAccount saveAccount(MqTenantAccount account);

    List<MqTenantAccount> list(PaginateDataResquest<MqTenantAccount> account);

    List<MqTenantAccount> list(MqTenantAccount account);

    MqTenantAccount getAccountByType(MqTenantAccount account);

    Boolean delete(String id, String tenantId);
}
